package com.hqj.eureka.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/tc")
public class TestController {

    @RequestMapping("/t1")
    public String getHello(@RequestParam("name") String name){
        return "hello,springCloud eureka,服务提供者,参数传值为:"+name;
    }


}
